package com.jcx.ldzj.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
/**
* 业精于勤荒于嬉，行成于思毁于随！
* @author Ð¡Ìì
* @since 2021-01-20
*/
@Data
@TableName("user_info")
@ApiModel(value="用户信息主对象", description="用户信息主对象")
public class UserInfo extends LoginUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户表id")
    @TableId("id_")
    private String id;

    @ApiModelProperty(value = "用户姓名")
    @TableField("user_name_")
    private String userName;

    @ApiModelProperty(value = "部门编号")
    @TableField("dep_id_")
    private String depId;


    @ApiModelProperty(value = "部门名称")
    @TableField("dep_name_")
    private String depName;

    @ApiModelProperty(value = "职位名称")
    @TableField("position_name_")
    private String positionName;

    @ApiModelProperty(value = "职位编号")
    @TableField("position_id_")
    private String positionId;


    @ApiModelProperty(value = "账户密码")
    @TableField("pass_word_")
    private String passWord;

    @ApiModelProperty(value = "性别，0：女，1：男")
    @TableField("sex_")
    private Character sex;

    @ApiModelProperty(value = "电话号码")
    @TableField("phone_number_")
    private String phoneNumber;

    @ApiModelProperty(value = "微信号")
    @TableField("wechat_number_")
    private String wechatNumber;

    @ApiModelProperty(value = "qq号")
    @TableField("QQ_number_")
    private String qqNumber;

    @ApiModelProperty(value = "联系地址")
    @TableField("address_")
    private String address;

    @ApiModelProperty(value = "备注")
    @TableField("remark_")
    private String remark;


    @ApiModelProperty(value = "邮箱")
    @TableField("mye_mail_")
    private String myeMail;

    @ApiModelProperty(value = "办公电话")
    @TableField("office_telephone_")
    private String officeTelephone;

    @ApiModelProperty(value = "昵称")
    @TableField("real_name_")
    private String realName;

}